package cn.edu.hunau.java.week02.day01;

import org.junit.Test;

import java.awt.*;

public class PointTest {

    @Test
    public void test01(){
        Point p1=new Point();
        Point p2=new Point(1,2);
        double d=p1.distance(p2);
        System.out.println(d);
    }
}
